<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>	
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>我得展会</title>
<link rel="stylesheet" href="<%=path %>/css/bootstrap.css" />
<link rel="stylesheet" href="<%=path %>/css/css.css" />
<script type="text/javascript" src="<%=path %>/js/jquery1.9.0.min.js"></script>
<script type="text/javascript" src="<%=path %>/js/bootstrap.min.js"></script>
<script type="text/javascript" src="<%=path %>/js/sdmenu.js"></script>
<script type="text/javascript" src="<%=path %>/js/laydate/laydate.js"></script>
<script type="text/javascript">
	function verify(id,exh_id,state){
		if(confirm("是否审核该记录?")){
			alert("操作成功!");
			location='<%=path%>/unit/verify.do?inv_id='+id+'&exh_id='+exh_id+'&state='+state;
		}
	}
</script>
</head>
<body>
	<div class="right_cont">
		<ul class="breadcrumb">当前位置：我得展会<span class="divider">/</span></span>被邀请展会</ul>
	</div>
	<div class="title_right"><strong>被邀请展会</strong></div>
	
	<form action="<%=path %>/unit/unitInviteList.do" id="form" method="post">
	<table class="table table-bordered" style="width:400px" align="center">
		<tr>
			<td width="20%" align="right" bgcolor="#f1f1f1">展会名称：</td>
			<td width="25%">
				<input type="text" name="ehi_name" value="${requestScope.ehi_name}" maxlength="20" id="ehi_name" class="span1-1" />
			</td>
			<td width="40%">
				<input type="submit" id="submit" value="搜索" class="btn btn-info " style="width: 80px;" />
				
			</td>
		</tr>
	</table>
	</form>
	
	<table width="90%" class="table table-bordered table-striped table-hover">
     <tbody>
       <tr align="center">
         <td width="15%" nowrap="nowrap"><strong>展会名称</strong></td>
         <td width="15%" nowrap="nowrap"><strong>展会地点</strong></td>
         <td width="15%" nowrap="nowrap"><strong>开始时间</strong></td>
         <td width="15%" nowrap="nowrap"><strong>结束时间</strong></td>
         <td width="25%" nowrap="nowrap"><strong>操作</strong></td>
        </tr>
       <c:forEach items="${requestScope.list}" var="invite">
       <tr align="center">
         <td nowrap="nowrap">${invite.ehi_name}</td>
         <td nowrap="nowrap">${invite.ehi_address}</td>
         <td nowrap="nowrap">${invite.ehi_start_time}</td>
         <td nowrap="nowrap">${invite.ehi_end_time}</td>
         <td nowrap="nowrap">
         <a href="<%=path%>/unit/detailUnitInvite.do?id=${invite.id}">展会详情</a>
         <a href="<%=path%>/unit/sampleInfoAdd.do?exh_id=${invite.ehi_id}">发布展品</a>
         <a href="<%=path%>/unit/sampleInfoList.do?ehi_id=${invite.ehi_id}">展品管理</a>
       </tr>
      </c:forEach>
     </tbody>
   </table>
</body>
</html>